/**
 * 工作单位：IT创新工作室
 * 文件名：ToggleService
 * 作者：cheru
 * 日期：2019/11/29 16:04
 */
package com.itgzs.front.service;

import com.itgzs.front.bean.Sensor;
import com.itgzs.front.bean.Toggle;
import com.itgzs.front.mapper.ToggleMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ToggleService {

    @Autowired
    private ToggleMapper toggleMapper;

    public void updateToggle(Toggle toggle){

        toggleMapper.updateToggle(toggle);
    }
}
